package com.junit_;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

class Demo1Test {

    @Test
    void testFact() {
        Assertions.assertEquals(1, Demo1.fact(1));
        Assertions.assertEquals(2, Demo1.fact(2));
        Assertions.assertEquals(6, Demo1.fact(3));
    }
}